package com.song.winter.annotation;


import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Bean {

    //Bean name. default to method name.
    String value() default "";

    //初始化方法
    String initMethod() default "";

    //销毁时调用的方法
    String destroyMethod() default "";

}
